<template>
    <div class="home">
      <div>
        <mt-button @click.native="goPage('student-score')" type="primary" size="large">学生分数列表</mt-button>
      </div>
      <div>
        <mt-button @click.native="goPage('student-add')" type="primary" size="large">批量添加学生分数</mt-button>
      </div>
      <div>
        <mt-button @click.native="goPage('student-query')" type="primary" size="large">学生信息查询</mt-button>
      </div>
      <div>
        <mt-button @click.native="goPage('student-sum')" type="primary" size="large">学生 成绩统计</mt-button>
      </div>
    </div>
</template>

<script>
  export default {
    name: '',
    methods:{
       goPage(path){
          this.$router.push({path:'/pages/'+path})
         
       }
    }
  }
</script>

<style scoped>
  .home{
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .home div{
    width: 100%;
    margin-top: 10px;
  }
</style>
